package com.craney.testTimer
{
	import flash.events.Event;
	import flash.events.TimerEvent;
	import flash.utils.Timer;
	
	public class TimerAgain
	{
		private var timer:Timer = new Timer(1000, 1);
		
		public function TimerAgain()
		{
			timer.addEventListener(TimerEvent.TIMER_COMPLETE, complete);
			timer.start();
		}

		private function complete(event:Event):void
		{
			trace("complete!");
			trace("timer.currentCount=" + timer.currentCount);
			trace("timer.repeatCount=" + timer.repeatCount);
			timer.reset();
			timer.start();
			trace("start again!");
		}	
	}
}